package com.ruoyi.publish.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.ExcelField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.Type;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 鉴定报告对象 id_report
 *
 * @author confusefox
 * @date 2020-11-17
 */

public class IdReport extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    private IdAcceptRegister idAcceptRegister;
    /**
     * 受理登记id
     */
    private Long registerId;

    /**
     * 出版意见
     */
    private String publishOps;

    /**
     * 样本数量
     */
    @Excel(name = "样本数量", type = Type.EXPORT)
    private Long sampleNumber;

    /**
     * 接办人
     */
    private String takeover;

    /**
     * 受理时间
     */
    @Excel(name = "受理时间", type = Type.EXPORT, width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date acceptTime;

    /**
     * 鉴定结论
     */
    @Excel(name = "鉴定结论", dictType = "id_report_conclusion")
    private String appraCon;

    /**
     * 简要案情
     */
    @Excel(name = "简要案情", type = Type.IMPORT)
    private String briefCase;

    /**
     * 鉴定内容
     */
    @Excel(name = "鉴定内容", type = Type.IMPORT)
    private String identiContent;

    /**
     * 样本版权记录
     */
//    @Excel(name = "样本版权记录", type = Type.IMPORT)
    private String copyrightRecord;

    /**
     * 样本版权记录扩展文本框
     */
    private String copyrightRecordEx;

    public String getCopyrightRecordEx() {
        return copyrightRecordEx;
    }

    public void setCopyrightRecordEx(String copyrightRecordEx) {
        this.copyrightRecordEx = copyrightRecordEx;
    }

    /**
     * 鉴定情况
     */
    @Excel(name = "鉴定情况", type = Type.IMPORT)
    private String identiSituation;

    /**
     * 法律条文
     */
    private Long lawId;

    /**
     * 关联样本
     */
    private String sampleIds;

    /**
     * 鉴定签发单
     */
    private String identiIssuance;

    /**
     * 出版物鉴定书
     */
    private String publicationAppr;

    /**
     * 出版物鉴定送达登记表
     */
    private String registrationForm;

    /**
     * 是否启用
     */
    @Excel(name = "是否启用", type = Type.EXPORT)
    private String isUse;

    /**
     * 二维码图片地址
     */
    private String qrCode;

    /**
     * 状态
     */
    private String status;

    /**
     * 鉴定报告序号
     */
    private String by1;

    /**
     * 鉴定报告word 名称 uuid
     */
    private String by2;

    /**
     * 备用3   签发单 wor 名称 uuid
     */
    private String by3;

    /**
     * 审核人员
     */
    private String auditor;

    /**
     * 审核人员ID
     */
    private String auditorId;

    /**
     * 已审核人员
     */
    private String appRemark;

    /**
     * 已审核人员
     */
//    @Excel(name = "签发单")
    private String issue;

    private int approvalLevel;

    private Long pushUser;

    /**
     * 导出的id集合
     */
    private String exportIds;

    public String getAuditor() {
        return auditor;
    }

    public String getAuditorId() {
        return auditorId;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public void setAuditorId(String auditorId) {
        this.auditorId = auditorId;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public IdAcceptRegister getIdAcceptRegister() {
        return idAcceptRegister;
    }

    public void setIdAcceptRegister(IdAcceptRegister idAcceptRegister) {
        this.idAcceptRegister = idAcceptRegister;
    }

    public void setRegisterId(Long registerId) {
        this.registerId = registerId;
    }

    public Long getRegisterId() {
        return registerId;
    }

    public void setPublishOps(String publishOps) {
        this.publishOps = publishOps;
    }

    public String getPublishOps() {
        return publishOps;
    }

    public void setSampleNumber(Long sampleNumber) {
        this.sampleNumber = sampleNumber;
    }

    public Long getSampleNumber() {
        return sampleNumber;
    }

    public void setTakeover(String takeover) {
        this.takeover = takeover;
    }

    public String getTakeover() {
        return takeover;
    }

    public void setAcceptTime(Date acceptTime) {
        this.acceptTime = acceptTime;
    }

    public Date getAcceptTime() {
        return acceptTime;
    }

    public void setAppraCon(String appraCon) {
        this.appraCon = appraCon;
    }

    @ExcelField(required = ExcelField.ExcelRequired.must, filedName = "鉴定结论")
    public String getAppraCon() {
        return appraCon;
    }

    public void setBriefCase(String briefCase) {
        this.briefCase = briefCase;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no, filedName = "简要案情")
    public String getBriefCase() {
        return briefCase;
    }

    public void setIdentiContent(String identiContent) {
        this.identiContent = identiContent;
    }

    @ExcelField(required = ExcelField.ExcelRequired.must, filedName = "鉴定内容")
    public String getIdentiContent() {
        return identiContent;
    }

    public void setCopyrightRecord(String copyrightRecord) {
        this.copyrightRecord = copyrightRecord;
    }

    public String getCopyrightRecord() {
        return copyrightRecord;
    }

    public void setIdentiSituation(String identiSituation) {
        this.identiSituation = identiSituation;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no, filedName = "鉴定情况")
    public String getIdentiSituation() {
        return identiSituation;
    }

    public void setLawId(Long lawId) {
        this.lawId = lawId;
    }

    public Long getLawId() {
        return lawId;
    }

    public void setSampleIds(String sampleIds) {
        this.sampleIds = sampleIds;
    }

    public String getSampleIds() {
        return sampleIds;
    }

    public void setIdentiIssuance(String identiIssuance) {
        this.identiIssuance = identiIssuance;
    }

    public String getIdentiIssuance() {
        return identiIssuance;
    }

    public void setPublicationAppr(String publicationAppr) {
        this.publicationAppr = publicationAppr;
    }

    public String getPublicationAppr() {
        return publicationAppr;
    }

    public void setRegistrationForm(String registrationForm) {
        this.registrationForm = registrationForm;
    }

    public String getRegistrationForm() {
        return registrationForm;
    }

    public void setIsUse(String isUse) {
        this.isUse = isUse;
    }

    public String getIsUse() {
        return isUse;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setBy1(String by1) {
        this.by1 = by1;
    }

    public String getBy1() {
        return by1;
    }

    public void setBy2(String by2) {
        this.by2 = by2;
    }

    public String getBy2() {
        return by2;
    }

    public void setBy3(String by3) {
        this.by3 = by3;
    }

    public String getBy3() {
        return by3;
    }

    public void setAppRemark(String appRemark) {
        this.appRemark = appRemark;
    }

    public String getAppRemark() {
        return appRemark;
    }

    public String getIssue() {
        return issue;
    }

    public void setIssue(String issue) {
        this.issue = issue;
    }

    public void setApprovalLevel(int approvalLevel) {
        this.approvalLevel = approvalLevel;
    }

    public int getApprovalLevel() {
        return this.approvalLevel;
    }

    public Long getPushUser() {
        return pushUser;
    }

    public void setPushUser(Long pushUser) {
        this.pushUser = pushUser;
    }

    public String getExportIds() {
        return exportIds;
    }

    public void setExportIds(String exportIds) {
        this.exportIds = exportIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("registerId", getRegisterId())
                .append("publishOps", getPublishOps())
                .append("sampleNumber", getSampleNumber())
                .append("takeover", getTakeover())
                .append("acceptTime", getAcceptTime())
                .append("appraCon", getAppraCon())
                .append("briefCase", getBriefCase())
                .append("identiContent", getIdentiContent())
                .append("copyrightRecord", getCopyrightRecord())
                .append("copyrightRecordEx", getCopyrightRecordEx())
                .append("identiSituation", getIdentiSituation())
                .append("lawId", getLawId())
                .append("sampleIds", getSampleIds())
                .append("identiIssuance", getIdentiIssuance())
                .append("publicationAppr", getPublicationAppr())
                .append("registrationForm", getRegistrationForm())
                .append("isUse", getIsUse())
                .append("qrCode", getQrCode())
                .append("status", getStatus())
                .append("by1", getBy1())
                .append("by2", getBy2())
                .append("by3", getBy3())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("auditor", getAuditor())
                .append("auditorId", getAuditorId())
                .append("appRemark", getAppRemark())
                .append("approvalLevel", getApprovalLevel())
                .append("pushUser", getPushUser())
                .toString();
    }
}
